package com.kamm.springbootflower.domain;


import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Flower {
    private Integer fId;

    private String fName;


    /**
     * 对应html页面文件
     */
    private MultipartFile fileone;

    private BigDecimal fMoney;

    //@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date fDate;

    private String fImage;

    private Integer number;

    private String ftName;

    public List<FlowerTb> getFlowerTbList() {
        return flowerTbList;
    }

    public void setFlowerTbList(List<FlowerTb> flowerTbList) {
        this.flowerTbList = flowerTbList;
    }

    private List<FlowerTb> flowerTbList;
    public List<Flowertype> getFlowertypeList() {
        return flowertypeList;
    }

    public void setFlowertypeList(List<Flowertype> flowertypeList) {
        this.flowertypeList = flowertypeList;
    }

    private List<Flowertype> flowertypeList;

    public String getFtName() {
        return ftName;
    }

    public void setFtName(String ftName) {
        this.ftName = ftName;
    }

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName == null ? null : fName.trim();
    }

    public BigDecimal getfMoney() {
        return fMoney;
    }

    public void setfMoney(BigDecimal fMoney) {
        this.fMoney = fMoney;
    }

    public Date getfDate() {
        return fDate;
    }

    public void setfDate(Date fDate) {
        this.fDate = fDate;
    }

    public String getfImage() {
        return fImage;
    }

    public void setfImage(String fImage) {
        this.fImage = fImage == null ? null : fImage.trim();
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public MultipartFile getFileone() {
        return fileone;
    }

    public void setFileone(MultipartFile fileone) {
        this.fileone = fileone;
    }

    public Flower() {
        super();
    }

}